/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import BO.Iter.SinhVienBO;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

/**
 *
 * @author vt
 */
public class TronDeController {
    public String masv;
    public String made;
    private SinhVienBO sinhvienBO;
    
    public String submit(){
        // kiem tra sinh vien nay co trong danh sach thi hay khong
        
        // pass qua trang thi
        HttpSession ses = ( HttpSession )FacesContext.getCurrentInstance().getExternalContext().getSession(true);
        ses.setAttribute(Login.SESSION_NAME_LOGIN, "1");
        
        return "thi";
        // dong thoi luu xuong session mot bien ma sinh vien voi gia tri la ma sinh vien va cau hoi dang o hien tai
       
    }
}
